//
//  GDJudgeEnterIsNumber.m
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/8.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import "GDJudgeEnterIsNumberOperation.h"
#import "NSString+GDNumber.h"

@implementation GDJudgeEnterIsNumberOperation

+(id)judgeWithEnterIsNumber:(NSDictionary *)enter{
    NSMutableDictionary * dicM = [NSMutableDictionary dictionary];
    dicM = [enter mutableCopy];
    NSMutableArray * arrayM = [NSMutableArray array];
    for (id key in enter){
        if ([NSString isNumber:[enter objectForKey:key]]) {
            NSDictionary * dic = @{key:[enter objectForKey:key]};
            [arrayM addObject:dic];
        }
    }
    
    return [arrayM copy];
}



@end
